package com.thkj.business.home.service.impl;

import com.thkj.business.home.service.HomeService;
import com.thkj.framework.base.BaseService;
import org.springframework.stereotype.Service;

@Service
public class HomeServiceImpl extends BaseService implements HomeService {


    @Override
    public void updateAccessNum() {
        dao.queryForObject("com.thkj.mapper.TblHome.updateAccessNum", 1, Integer.class);
    }

    @Override
    public Integer queryAccessCount() {
        return dao.queryForObject("com.thkj.mapper.TblHome.queryAccessNum", 1, Integer.class);
    }
}